package ink.lvxin.datastructure;

public class LxTest {
    public static void main(String[] args) {
//        chengfabiao(9);

        StringBuffer sb = new StringBuffer();
        System.out.println("1111" + sb);
        sb.append("aa");
        System.out.println(sb);
    }

    /**
     * 99乘法表
     */
    private static void chengfabiao(int num) {
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i <= num; i++) {
            for (int j = 1; j <= i; j++) {
                sb.append(j).append(" x ").append(i).append(" = ").append(j * i).append("\t");
            }
            sb.append("\n");
        }

        System.out.println(sb.toString());
    }
}
